package cn.rkylin.oms.aftersale.sysrefund.dao;

import java.util.List;
import java.util.Map;

import cn.rkylin.oms.aftersale.sysrefund.domain.SysRefundSku;

public interface ISysRefundSkuDAO {
    int deleteByPrimaryKey(String refundSkuId);

    int insert(SysRefundSku record) throws Exception;

    int insertSelective(SysRefundSku record) throws Exception;

    SysRefundSku selectByPrimaryKey(String refundSkuId);

    int updateByPrimaryKeySelective(SysRefundSku record);

    int updateByPrimaryKey(SysRefundSku record);
    /**
     * insertBatch:批量新增退款单详情. <br/>
     *
     * @author zhanghao
     * @param recordList
     * @return
     * @throws Exception 
     */
    int insertBatch(List<SysRefundSku> recordList) throws Exception;

    /**
     * insert:插入数据库. <br/>
     *
     * @author zhanghao
     * @param param
     */
    void insert(Map param) throws Exception;

    /**
     * updateByRefundIdSelective:根据系统退款单ID更新系统退款单. <br/>
     * 
     * @author zhanghao
     * @param record
     * @throws Exception 
     */
    void updateByRefundIdSelective(SysRefundSku record) throws Exception;;
}